			
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using DDF.Entity;
using System.Runtime.Serialization;
using ARR.Entities.Gateways;
		
namespace ARR.Entities
{
	[DataContract]
	[Serializable]	
	public partial class HistoryGroupMember : EntityBase
	{
		[DataMember]
		private HistoryGroupMemberRow row;
		
		public HistoryGroupMember(HistoryGroupMemberRow row)
		{
			this.row = row;
		}
		
		public HistoryGroupMember()
		{
			this.row = new HistoryGroupMemberRow();
		}
		
		[DataMember]
		public int Id
		{
			get { return row.Id; }
			set { row.Id = value; }
		}

		[DataMember]
		public int HistoryGroupId
		{
			get { return row.HistoryGroupId; }
			set { row.HistoryGroupId = value; }
		}

		[DataMember]
		public int HistoryId
		{
			get { return row.HistoryId; }
			set { row.HistoryId = value; }
		}

		[DataMember]
		public decimal TargetRate
		{
			get { return row.TargetRate; }
			set { row.TargetRate = value; }
		}

		[DataMember]
		public decimal TargetSpacesConversion
		{
			get { return row.TargetSpacesConversion; }
			set { row.TargetSpacesConversion = value; }
		}

		[DataMember]
		public decimal TargetFuelsConversion
		{
			get { return row.TargetFuelsConversion; }
			set { row.TargetFuelsConversion = value; }
		}

		
		public HistoryGroupMemberRow GetRow()
        {
            return row;
        }
		
	} 
} 
